package com.ruoyi.bl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发货和配送单分配日志对象 bl_delivery_log
 * 
 * @author ruoyi
 * @date 2024-12-27
 */
public class BlDeliveryLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发货单ID */
    @Excel(name = "发货单ID")
    private Long deliveryId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 配送人员id */
    @Excel(name = "配送人员id")
    private Long psuserId;

    public void setDeliveryId(Long deliveryId) 
    {
        this.deliveryId = deliveryId;
    }

    public Long getDeliveryId() 
    {
        return deliveryId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setPsuserId(Long psuserId) 
    {
        this.psuserId = psuserId;
    }

    public Long getPsuserId() 
    {
        return psuserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliveryId", getDeliveryId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("orderId", getOrderId())
            .append("psuserId", getPsuserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
